package com.wk.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Wangkun
 * @since 2019-05-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @TableId(value = "userId", type = IdType.AUTO)
    private Integer userId;

    /**
     * 用户名称
     */
    @TableField("userName")
    private String userName;

    /**
     * 年纪
     */
    @TableField("userAge")
    private Integer userAge;

    /**
     * 邮箱
     */
    @TableField("userEmail")
    private String userEmail;

    /**
     * 地址
     */
    @TableField("userAddress")
    private String userAddress;

    /**
     * 身份证
     */
    @TableField("idCard")
    private String idCard;


}
